package cn.isjinhao.se.sql.grammar.statement.retrieve.represention;

import cn.isjinhao.se.sql.grammar.CurdStatementVisitor;
import cn.isjinhao.se.sql.grammar.CurdStatement;
import cn.isjinhao.se.sql.grammar.statement.Unary;
import cn.isjinhao.se.sql.lexical.token.Token;

/**
 * @author 01395265
 * @description TODO
 * @date 2021/3/3
 */
public class ExistsCondition extends Unary {

    public ExistsCondition(Token operator, CurdStatement curdStatement) {
        super(operator, curdStatement);
    }

    @Override
    public <R> R accept(CurdStatementVisitor<R> curdStatementVisitor) {
        return curdStatementVisitor.visitExistsCondition(this);
    }
}
